package com.koi.web.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.koi.model.bo.element.CascaderStringBo;
import com.koi.plus.mapper.test.TestDeptMapper;
import com.koi.test.TestDept;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author ･ᴗ･
 * @description [部门表-服务实现层]
 */
@Slf4j
@RequiredArgsConstructor
@Service
public class TestDeptServiceImpl extends ServiceImpl<TestDeptMapper, TestDept> implements TestDeptService {

    private final TestDeptMapper testDeptMapper;

    /**
     * @description [级联下拉框]
     * @author ･ᴗ･
     */
    @Override
    public List<CascaderStringBo> cascaderList() {
        return testDeptMapper.cascaderList();
    }

}
